package chapter_03_factory.p3_abstractFactory.product.mainboard;

/**
 * Created by CharloYao on 2017/3/23.
 */
public class AmdMainboard implements Mainboard {

    private int cpuHoles = 0;

    public AmdMainboard(int cpuHoles) {
        this.cpuHoles = cpuHoles;
    }

    @Override
    public void installCPU() {
        System.out.println("amd主板的插槽孔数是:"+cpuHoles);
    }
}
